home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / mat / sprite_hide.mat < prev    next >
Encoding:
Text File  |  2003-12-12  |  620 b   |  32 lines

  1.  
  2. shader()
  3. {
  4.     cull("none")
  5.     sortweight("sprite")
  6.  
  7.     pass()
  8.     {
  9.  
  10.         tmu()
  11.         {
  12.             texture()
  13.             {
  14.                 usermap(0)
  15.                 filtering("linear_no_mip")
  16.                 addressfunc("clamp", "clamp", "clamp")
  17.             }
  18.  
  19.             colorop("mul", "texture", "tfactor", "current")
  20.             alphaop("mul", "texture", "tfactor", "current")
  21.         }
  22.  
  23.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  24.  
  25.         blendfunc( "src_alpha", "inv_src_alpha" )
  26.         depthfunc( "always", 1 )
  27.     colorfunc(0)
  28.         nofog()
  29.     }
  30. }
  31.  
  32.